<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SmartphoneBrainScanner2: /Users/arks/google_code_sbs2/smartphonebrainscanner2/core/src/hidapi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="sbs2_icon.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SmartphoneBrainScanner2
   </div>
   <div id="projectbrief">A framework for building cross-platform real-time EEG applications. http://code.google.com/p/smartphonebrainscanner2/</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('hidapi_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">hidapi.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*******************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> HIDAPI - Multi-Platform library for</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> communication with HID devices.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> Alan Ott</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> Signal 11 Software</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> 8/22/2009</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> Copyright 2009, All Rights Reserved.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> At the discretion of the user of this library,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> this software may be licensed under the terms of the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> GNU Public License v3, a BSD-Style license, or the</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> original HIDAPI license as outlined in the LICENSE.txt,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> LICENSE-gpl3.txt, LICENSE-bsd.txt, and LICENSE-orig.txt</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> files located at the root of the source distribution.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> These files may also be found in the public source</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> code repository located at:</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">        http://github.com/signal11/hidapi .</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">********************************************************/</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef HIDAPI_H__</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HIDAPI_H__</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;wchar.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifdef _WIN32</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor"></span><span class="preprocessor">      #define HID_API_EXPORT __declspec(dllexport)</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor"></span><span class="preprocessor">      #define HID_API_CALL</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span><span class="preprocessor">      #define HID_API_EXPORT </span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">      #define HID_API_CALL </span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define HID_API_EXPORT_CALL HID_API_EXPORT HID_API_CALL </span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor"></span>                <span class="keyword">struct </span><a class="code" href="structhid__device__.html">hid_device_</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structhid__device__.html">hid_device_</a> <a class="code" href="structhid__device__.html">hid_device</a>; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="structhid__device__info.html">   49</a></span>&#160;                <span class="keyword">struct </span><a class="code" href="structhid__device__info.html">hid_device_info</a> {</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921">   51</a></span>&#160;                        <span class="keywordtype">char</span> *<a class="code" href="structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921">path</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709">   53</a></span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709">vendor_id</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a04595915457b4374492edb1fdb62d65d">   55</a></span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a04595915457b4374492edb1fdb62d65d">product_id</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a80756cea367e1566f966438984b75faf">   57</a></span>&#160;                        <span class="keywordtype">wchar_t</span> *<a class="code" href="structhid__device__info.html#a80756cea367e1566f966438984b75faf">serial_number</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a6a832d25260f7ec17ef008e53e50e1d0">   60</a></span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a6a832d25260f7ec17ef008e53e50e1d0">release_number</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a484eebf746220cd2910954cc861759b7">   62</a></span>&#160;                        <span class="keywordtype">wchar_t</span> *<a class="code" href="structhid__device__info.html#a484eebf746220cd2910954cc861759b7">manufacturer_string</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="structhid__device__info.html#aceee256b4f7cd7fdd9fa5d556f49d221">   64</a></span>&#160;                        <span class="keywordtype">wchar_t</span> *<a class="code" href="structhid__device__info.html#aceee256b4f7cd7fdd9fa5d556f49d221">product_string</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="structhid__device__info.html#ab811117f8084ce2036815bdd33b16b3b">   67</a></span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#ab811117f8084ce2036815bdd33b16b3b">usage_page</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a47f8011d58bcddd67f1403d6d3b4cab6">   70</a></span>&#160;                        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a47f8011d58bcddd67f1403d6d3b4cab6">usage</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a9163d8d5d7db8dc47bddfaf876e17547">   75</a></span>&#160;                        <span class="keywordtype">int</span> <a class="code" href="structhid__device__info.html#a9163d8d5d7db8dc47bddfaf876e17547">interface_number</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="structhid__device__info.html#a2bfebc240baf3bdaf03965816e11f149">   78</a></span>&#160;                        <span class="keyword">struct </span><a class="code" href="structhid__device__info.html">hid_device_info</a> *<a class="code" href="structhid__device__info.html#a2bfebc240baf3bdaf03965816e11f149">next</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                };</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#ga142ffc1b0b7a7fa412d3862b2a17164b" title="Initialize the HIDAPI library.">hid_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gacf5da9ce37132eba69fc259f17f13023" title="Finalize the HIDAPI library.">hid_exit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                <span class="keyword">struct </span><a class="code" href="structhid__device__info.html">hid_device_info</a> HID_API_EXPORT * HID_API_CALL <a class="code" href="group___a_p_i.html#ga135931e04d48078a9fb7aebf663676f9" title="Enumerate the HID Devices.">hid_enumerate</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709">vendor_id</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a04595915457b4374492edb1fdb62d65d">product_id</a>);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                <span class="keywordtype">void</span>  HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gafc2d2adf71db3784b783b9a554527aa4" title="Free an enumeration Linked List.">hid_free_enumeration</a>(<span class="keyword">struct</span> <a class="code" href="structhid__device__info.html">hid_device_info</a> *devs);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                HID_API_EXPORT <a class="code" href="structhid__device__.html">hid_device</a> * HID_API_CALL <a class="code" href="group___a_p_i.html#gabc0f2cd462ee003ce98d2ad3edfeb871" title="Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number...">hid_open</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709">vendor_id</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structhid__device__info.html#a04595915457b4374492edb1fdb62d65d">product_id</a>, <span class="keywordtype">wchar_t</span> *<a class="code" href="structhid__device__info.html#a80756cea367e1566f966438984b75faf">serial_number</a>);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                HID_API_EXPORT <a class="code" href="structhid__device__.html">hid_device</a> * HID_API_CALL <a class="code" href="group___a_p_i.html#ga1e87518670f88540c920dc451df608ee" title="Open a HID device by its path name.">hid_open_path</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921">path</a>);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                <span class="keywordtype">int</span>  HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gad14ea48e440cf5066df87cc6488493af" title="Write an Output report to a HID device.">hid_write</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">size_t</span> length);</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gaa5c9ed5aa290688ffac03343989ad75a" title="Read an Input report from a HID device with timeout.">hid_read_timeout</a>(<a class="code" href="structhid__device__.html">hid_device</a> *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">size_t</span> length, <span class="keywordtype">int</span> milliseconds);</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                <span class="keywordtype">int</span>  HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#ga6b820f3e72097cf7f994e33715dc7af1" title="Read an Input report from a HID device.">hid_read</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">size_t</span> length);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                <span class="keywordtype">int</span>  HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gaf9d54208d314047727598b506577bb87" title="Set the device handle to be non-blocking.">hid_set_nonblocking</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">int</span> nonblock);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#gae43ab80f741786ac4374216658fd5ab3" title="Send a Feature report to the device.">hid_send_feature_report</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">size_t</span> length);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#ga34d43ac6da0fb785b88fcc2edf13ed65" title="Get a feature report from a HID device.">hid_get_feature_report</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">size_t</span> length);</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;                <span class="keywordtype">void</span> HID_API_EXPORT HID_API_CALL <a class="code" href="group___a_p_i.html#ga9b64828273b8dd052731e79ba9e1a516" title="Close a HID device.">hid_close</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device);</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT_CALL <a class="code" href="group___a_p_i.html#ga2652b2ff0f3982a8c5791718e2a2e6cb" title="Get The Manufacturer String from a HID device.">hid_get_manufacturer_string</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">wchar_t</span> *<span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> maxlen);</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT_CALL <a class="code" href="group___a_p_i.html#gaa78526041c4bb470b2c1ad9eb0791c5f" title="Get The Product String from a HID device.">hid_get_product_string</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">wchar_t</span> *<span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> maxlen);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT_CALL <a class="code" href="group___a_p_i.html#ga73994b7820264d3604d6ee25de9c66be" title="Get The Serial Number String from a HID device.">hid_get_serial_number_string</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">wchar_t</span> *<span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> maxlen);</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;                <span class="keywordtype">int</span> HID_API_EXPORT_CALL <a class="code" href="group___a_p_i.html#ga03810bc0be3c21e9229feff689a9de85" title="Get a string from a HID device, based on its string index.">hid_get_indexed_string</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device, <span class="keywordtype">int</span> string_index, <span class="keywordtype">wchar_t</span> *<span class="keywordtype">string</span>, <span class="keywordtype">size_t</span> maxlen);</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;                HID_API_EXPORT <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* HID_API_CALL <a class="code" href="group___a_p_i.html#ga1b5c0ca1c785b8024f5eb46750a8f606" title="Get a string describing the last error which occurred.">hid_error</a>(<a class="code" href="structhid__device__.html">hid_device</a> *device);</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_6f90aaffdfd477d77d5f9c47c5b97c21.html">google_code_sbs2</a></li><li class="navelem"><a class="el" href="dir_448510a67227a50d4154c57452a2af8e.html">smartphonebrainscanner2</a></li><li class="navelem"><a class="el" href="dir_680a33f0116f58b5e253fc0d187f7737.html">core</a></li><li class="navelem"><a class="el" href="dir_05d5673300b00bd01b57a73e4ebb4749.html">src</a></li><li class="navelem"><b>hidapi.h</b></li>
    <li class="footer">Generated on Fri Jun 29 2012 14:30:34 for SmartphoneBrainScanner2 by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
  </ul>
</div>
</body>
</html>
